package demo4protected;

import demo3protected.Base;

public class Derived extends Base {

    public void test() {
        System.out.println(super.a);
    }

    public static void main(String[] args) {
        Derived derived = new Derived();
        System.out.println(derived.a);


        /*C c = new C();
        System.out.println(c.a);*/


        final int a = 10;
        //a = 100;
    }
}
